I am trying to run a windows batch file from kmotion cnc using a user but with the execute pc.
The batch file reads current state from a file, and based on that state sends various options to a windows console app, it also writes back the state change to the file.
It works fine when run manually, but gives an error from motion:
"error
return code = 255
abort"
Is this a windows security setting perhaps?
Thanks,
Colin
Group: DynoMotion
Message: 9490
From: Tom Kerekes
Date: 5/10/2014
Subject: Re: execute pc fails
Hi Colin,
The return code from your PC Program or batch file should be 0. That message indicates your program is returning an error code of 255.